<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
	</head>
	<body>
		<a href="#" onclick="closeMine()">关闭此网页</a>
	</body>
	<script type="text/javascript">
		function closeMine(){
			let isClose = window.confirm('是否关闭此对话框')
			if(isClose){
				window.close()
			}
		}
	</script>
</html>
